package com.heima.apis.user;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.ExamineUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("leadnews-user")
public interface UserClient {

    @PostMapping("/api/v1/auth/list")
    ResponseResult list(ExamineUserDto dto);

    @PostMapping("/api/v1/auth/authFail")
    ResponseResult authFail(ExamineUserDto dto);

    @PostMapping("/api/v1/auth/authPass")
    ResponseResult authPass(ExamineUserDto dto);
}
